home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-02-14 | 2.4 KB | 95 lines |
- # makefile for dvixx
- # For the SAS/C 6.51 compiler for the Amiga.
- # All compiler options are in the SCOPTIONS file; see README.amiga if
- # you can't find the SCOPTIONS file
- #
- # Peter A. Henning, Theoretical Physics,
- # Gesellschaft fuer Schwerionenforschung
- # P.Henning@gsi.de
- #
-
- OBJS=findlj.o find3812.o
- HFILES=commands.h config.h
- PROGRAMS=dvilj2p dvilj2 dvilj4 dvi3812 dvilj dviljp
-
- LFLAGS=SMALLCODE SMALLDATA NODEBUG NOICONS FROM LIB:c.o
-
- #Uncomment these lines for FPU support
- #LLIBS=LIB LIB:scm881.lib LIB:sc.lib LIB:amiga.lib
- #ASMFLAG = -m2
-
- #Uncomment these lines for standard math support
- LLIBS=LIB LIB:scmieee.lib LIB:sc.lib LIB:amiga.lib
- ASMFLAG=
-
- #Uncomment this line to make the other types of program
- #all: $(PROGRAMS)
-
- all: dvi2lj
-
- dvi2lj: dvi2xx.o findlj.o copypsfile.o postasm.o
- $(LD) $(LFLAGS) dvi2xx.o findlj.o copypsfile.o postasm.o TO $@ ${LLIBS}
-
- dvi3812: dvi3812.o find3812.o
- $(LD) $(LFLAGS) dvi3812.o find3812.o TO $@ ${LLIBS}
-
- dvilj2p: dvilj2p.o findlj.o
- $(LD) $(LFLAGS) dvilj2p.o findlj.o TO $@ ${LLIBS}
-
- dvilj2: dvilj2.o findlj.o
- $(LD) $(LFLAGS) dvilj2.o findlj.o TO $@ ${LLIBS}
-
- dvilj4: dvilj4.o findlj4.o tfm.o xmalloc.o
- $(LD) $(LFLAGS) dvilj4.o findlj4.o tfm.o xmalloc.o TO $@ ${LLIBS}
-
- dvilj: dvilj.o findlj.o
- $(LD) $(LFLAGS) dvilj.o findlj.o TO $@ ${LLIBS}
-
- dviljp: dviljp.o findlj.o
- $(LD) $(LFLAGS) dviljp.o findlj.o TO $@ ${LLIBS}
-
-
- dvi2xx.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ2P dvi2xx.c OBJNAME $@
-
- dvi3812.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE IBM3812 dvi2xx.c OBJNAME $@
-
- dvilj2p.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ2P dvi2xx.c OBJNAME $@
-
- dvilj2.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ2 dvi2xx.c OBJNAME $@
-
- dvilj4.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ4 dvi2xx.c OBJNAME $@
-
- dvilj.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ DEFINE SEVENBIT dvi2xx.c OBJNAME $@
-
- dviljp.o: dvi2xx.c $(HFILES)
- $(CC) DEFINE LJ2P DEFINE SEVENBIT dvi2xx.c OBJNAME $@
-
-
-
- findlj.o: findfile.c config.h
- $(CC) DEFINE LJ findfile.c OBJNAME $@
-
- findlj4.o: findfile.c config.h
- $(CC) DEFINE LJ4 findfile.c OBJNAME $@
-
- find3812.o: findfile.c config.h
- $(CC) DEFINE IBM3812 findfile.c OBJNAME $@
-
- tfm.o: tfm.c
- $(CC) DEFINE LJ tfm.c OBJNAME $@
-
- dospecial.o: dospecial.c
- $(CC) DEFINE LJ dospecial.c OBJNAME $@
-
- copypsfile.o: copypsfile.c
- $(CC) CPU=ANY DEFINE LJ copypsfile.c OBJNAME $@
-
- postasm.o: postasm.a
- asm -u $(ASMFLAG) -iinclude: postasm.a
-